package com.ctgu.computer.service;

import com.ctgu.computer.domain.dto.AdminAddDTO;
import com.ctgu.computer.domain.dto.AdminLoginDTO;
import com.ctgu.computer.domain.dto.UserLoginDTO;
import com.ctgu.computer.domain.dto.UserSignUpDTO;
import com.ctgu.computer.domain.po.AdminInfo;
import com.ctgu.computer.domain.po.UserInfo;

import java.io.IOException;

public interface LoginService {
    UserInfo login(UserLoginDTO userLoginDTO);

    UserInfo signUp(UserSignUpDTO userSignUpDTO) throws IOException;

    AdminInfo login(AdminLoginDTO adminLoginDTO);

    AdminInfo addAdmin(AdminAddDTO adminAddDTO);
}
